package org.summerframework.component.security.oauth.alipay;

import org.summerframework.component.security.oauth.OAuthAppIdAndAppSecret;


public class AlipayAppIdAndAppSecret extends OAuthAppIdAndAppSecret {
    private String gateway = "https://openapi.alipay.com/gateway.do";
    private String privateKey;
    private String publicKey;
    private String signType = "RSA2";
    private String charset = "utf-8";
    private String pid;

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public String getSignType() {
        return signType;
    }

    public void setSignType(String signType) {
        this.signType = signType;
    }

    public String getCharset() {
        return charset;
    }

    public void setCharset(String charset) {
        this.charset = charset;
    }

    public String getGateway() {
        return gateway;
    }

    public AlipayAppIdAndAppSecret setGateway(String gateway) {
        this.gateway = gateway;
        return this;
    }
}
